package com.adinnet.admin.schoolWebsite.model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 校区网点
 * </p>
 *
 * @author zYshuai
 * @since 2020-12-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_school_website")
public class SchoolWebsite implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 校区名称
     */
    private String schoolName;

    /**
     * 电话
     */
    private String telNo;

    /**
     * 省id
     */
    private Integer provinceId;

    /**
     * 省名称
     */
    private String provinceName;

    /**
     * 市id
     */
    private Integer cityId;

    /**
     * 市名称
     */
    private String cityName;

    /**
     * 区id
     */
    private Integer areaId;

    /**
     * 区名称
     */
    private String areaName;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 创建时间
     */
    private Date createdDate;

    /**
     * 修改时间
     */
    private Date updatedDate;

    /**
     * 状态，0正常，1删除
     */
    private Boolean deleted;

    @TableField(exist = false)
    private String provinceNames;//所在地区

    @TableField(exist = false)
    private String provinceCode;//省code

    @TableField(exist = false)
    private String cityCode;//市code

    @TableField(exist = false)
    private String areaCode;//区code

//    @TableField(exist = false)
//    private String schoolWebsiteImages;//分校区图片 ,拼接
}
